/* simple line */
package renders.edge.arrows
{
	import flash.display.Graphics;
	import renders.edge.ExtendedEdge;
	
	public class DefaultBody implements IArrowBodyDrawer
	{
		public function DefaultBody()
		{
		}

		public function drawLine(g:Graphics, d:ExtendedEdge,t:Number,color:uint,alpha:Number,x1:Number, y1:Number, x2:Number, y2:Number):void
		{
			//shadow
			g.lineStyle(6, 0x000000, 0.01);
			d.move(g, x1, y1);
			d.line(g, x2, y2);
			
			//line :
			g.lineStyle(1, color, alpha);
			d.move(g, x1, y1);
			d.line(g, x2, y2);
		}
		
	}
}